package
{
	import Cotrol.GameTickControl;
	
	import View.GameBattle;
	
	import flash.display.Sprite;
	import flash.display.Stage;
	import flash.system.Security;
	
	[SWF(width="540", height="390")]
	
	public class TankGame extends Sprite
	{
		private var m_battle:GameBattle;
		
		
		
		public function TankGame()
		{
			Security.allowDomain("*");
			init();
		}
		private function init():void
		{
			GameTickControl.getInstance().timeStart();
			m_battle=GameBattle.getInstance();
			addChild(m_battle);
		}
	}
}